package com.yc.backstage.mapper;

import com.yc.backstage.entity.SysDictData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Classname SysDictDataController
 * @Description
 * @Version 1.0.0
 * @Date 2022-08-23 11:49:19
 * @Created by Mikechen
 */
@Mapper
public interface SysDictDataMapper extends BaseMapper<SysDictData> {
    List<SysDictData> selectDictDataById(Long dictCode);

    /**
     * 根据字典type查询字典数据
     */
    List<SysDictData> selectDictDataByType(String dictType);
}
